spilit string in swift

116

import Foundation
let sayHello = "Hello Swift 4 2017";
let result = sayHello.split(separator: " ")
print(result)

Comments

Submit
0 Comments